package com.yikes.srb.web.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>
 *   Canal 消息对象
 * </p>
 *
 * @Author: guanrong.yin
 * @Date: 2024/12/1 22:29
 */
@Data
@NoArgsConstructor
public class CanalMessage<T> {

    private String type;
    private String table;
    private List<T> data;
    private String database;
    private Long es;
    private Integer id;
    private Boolean isDdl;
    private List<T> old;
    private List<String> pkNames;
    private String sql;
    private Long ts;


}
